package com.lagou.springbootlog;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class HelloWorld {
    public static void main(String[] args) {
        Logger logger = LoggerFactory.getLogger(HelloWorld.class);
        logger.info("Hello World info");
        logger.debug("Hello World debug");
        Log log = LogFactory.getLog(HelloWorld.class);
        log.info("Hello World info");
        log.debug("Hello World debug");
    }
}
